import javax.swing.JOptionPane;


public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Object[] options = { "ADMIN", "USER", "EXIT" };
		while(true){
			int opt = JOptionPane.showOptionDialog(null, "WHAT DO YOU WANNA BE?", "PROFILE QUESTION",
					JOptionPane.DEFAULT_OPTION, JOptionPane.QUESTION_MESSAGE,
					null, options, options[0]);
			switch(opt){
			case 0: PgmAdmin.main(null);
					break;
			case 1: PgmUser.main(null);
					break;
			case 2:
				System.exit(-1);
				break;
			case -1:
				System.exit(-1);
				break;
			default:
				break;
			}
		}

	}

}
